﻿using FaceWebServer.Interface;
using FaceWebServer.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FaceWebServer.Service
{
    public class RecordService : BaseService, IRecordService
    {
        public RecordService(DbContext context) : base(context)
        {
        }

        public bool AddRecord(DriveRecord record)
        {
            record = Insert<DriveRecord>(record);

            return true;
        }
    }
}
